package com.gxuwz.mp_stu01.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gxuwz.mp_stu01.entity.Users;
import org.apache.ibatis.annotations.Select;

public interface UserMapper extends BaseMapper<Users> {

    @Select("select * from user where state=#{state}")
    IPage<Users> selectPageVo(Page<Users> page, Integer state);

}
